Skip to main content

Flutter 模块

GrowingIO Flutter SDK Plugin 需要通过 MethodChannel 来与原生SDK进行通信,所以原生需要集成该 Flutter 模块来接收来自Flutter的消息或者发送消息到Flutter中。


SDK说明

关键词是否集成输入数据类输出数据类最低SDK版本
flutter需要手动集成EventFlutterVoid4.3.0

依赖方式

dependencies {
implementation 'com.growingio.android:flutter:4.3.0'
}

使用方式

GrowingAutotracker.startWithConfiguration(this,
new AutotrackConfiguration("accountId", "urlScheme")
//...
.addPreloadComponent(new FlutterLibraryGioModule()));